/* static/style.css */
.card-template {
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-template:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.card-template.selected {
    border: 2px solid #0d6efd;
    background-color: #e7f1ff;
}

#cardJson {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

#jsonEditor {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    white-space: pre;
    overflow: auto;
}

.json-key {
    color: #922B3E;
    font-weight: bold;
}

.json-string {
    color: #286C0A;
}

.json-number {
    color: #1A5FB4;
}

.json-boolean {
    color: #A55000;
    font-weight: bold;
}

.json-null {
    color: #A50050;
    font-weight: bold;
}

#previewArea {
    min-height: 200px;
}

.template-item {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-item:hover {
    background-color: #f8f9fa;
}

.delete-template-btn {
    color: #dc3545;
    border: none;
    background: none;
    cursor: pointer;
}